Skip to content

Add admin password change endpoint - #13

Draft
ManoharEldhandi wants to merge 1 commit into
agent-dna:mainfrom
ManoharEldhandi:manohar/admin-change-password
Draft

Add admin password change endpoint#13
ManoharEldhandi wants to merge 1 commit into
agent-dna:mainfrom
ManoharEldhandi:manohar/admin-change-password

Conversation

@ManoharEldhandi

Copy link
Copy Markdown

Closes #12

Summary

  • add POST /dashboard/v1/admin-change-password
  • verify the current password before updating it
  • enforce the specified password policy and prevent password reuse
  • return the requested response messages and HTTP statuses
  • store the new password as a bcrypt hash
  • add focused endpoint and service tests

Testing

  • 10 focused tests pass
  • verified conditional password updates against PostgreSQL
  • Python compilation and diff checks pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add endpoint : for admin password update

1 participant